
package instrumentation;

import java.io.Serializable;

public class BlockMethodCall  implements Serializable{

	private static final long serialVersionUID = 7644484386896369190L;
	private final boolean isPrivate;
	private final String className;
	private final String methodName;

	public BlockMethodCall( String className, String methodName,boolean isPrivate) {
		this.isPrivate = isPrivate;
		this.className = className;
		this.methodName = methodName;
	}

	public String getClassName() {
		return className;
	}

	public String getMethodName() {
		return methodName;
	}

	public boolean isPrivate() {
		return isPrivate;
	}



	@Override
	public String toString() {
		return  (this.isPrivate() ? " " : "") + className + "." + methodName;
	}

}
